﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTQ.Model
{
    public class ModelMessage
    {
        public ModelMessage() { }

        public ModelMessage(string fieldName,string code, string message)
        {
            this.FieldName = fieldName;
            this.Code = code;
            this.Message = message;

        }
        public ModelMessage(string fieldName, string code, string message,string data)
        {
            this.FieldName = fieldName;
            this.Code = code;
            this.Message = message;
            this.data = data;
        }

        public string Code { get; set; }

        public string FieldName { get; set; }

        public string Message { get; set; }

        public string data { get; set; }

    }
}
